.toobar-box{
  width: 100%;
  position: absolute;
  height: 66px;
  z-index: 2;
  top: 0;
  left: 0;
  transition: all 1s ease;
  background-color: #366ad1;
  box-shadow: 0 8px 15px rgba(48, 86, 181, 0.27);
  .toobar {
    width: 1200px;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    margin-left: -600px;
    .logo {
      position: absolute;
      top: 14px;
      .logo img {
        height: 25px;
      }
      img {
        border: 0;
        vertical-align: middle;
        max-width: 100%;
      }
    }
    .login-box{
      position: absolute;
      right: 0;
      top: 0;
      height: 66px;
      line-height: 66px;
      z-index: 2;
      .username-wrap {
        float: right;
        height: 22px;
        line-height: 22px;
        padding: 24px 10px 21px 10px;
        background-color: transparent;
        position: relative;
        cursor: pointer;
        img {
          border: 0;
          vertical-align: middle;
          max-width: 100%;
        }
        img:first-child {
          margin-top: -7px;
          margin-left: 6px;
        }
        .username{
          color: #fff;
          margin-left: 10px;
          margin-bottom: 5px;
          display: inline-block;
          font-size: 16px;
        }
        .arrow{
          margin-top: -2px;
          margin-left: 6px;
        }
        .logout{
          position: absolute;
          width: 100%;
          height: 50px;
          background-color: #274e9a;
          top: 66px;
          right: 0;
          line-height: 50px;
          transition: all 1s;
          display: none;
          cursor: pointer;
          .logout-btn{
            text-align: center;
            width: 100%;
            height: 100%;
            color: #fff;
          }
        }
      }
      a {
        color: #fff;
        font-size: 16px;
        margin-right: 28px;
      }
      .login{
        color: #fff;
        font-size: 16px;
        margin-right: 28px;
      }
      .register{
        background-color: #fff;
        color: #366ad1;
        margin-left: 10px;
        display: inline-block;
        width: 95px;
        height: 32px;
        font-size: 14px;
        line-height: 32px;
        text-align: center;
        border-radius: 3px;
        margin-right: 0;
      }
    }
  }
}